method
[]
ruby latest stable - Class:
WEBrick::HTTPStatus
[](code)public
Returns the status class corresponding to code
WEBrick::HTTPStatus[302] => WEBrick::HTTPStatus::NotFound
[](code)Returns the status class corresponding to code
WEBrick::HTTPStatus[302] => WEBrick::HTTPStatus::NotFound